//
//  MNDFinanceTableViewCell.h
//  miniwangdai2
//
//  Created by 谭伟 on 2017/3/28.
//  Copyright © 2017年 谭谭伟. All rights reserved.
//
#pragma mark -投资列表cell

#import <UIKit/UIKit.h>
#import "ZZCircleProgress.h"
#import "MNDCreditorsModel.h"
#import "MNDFinanceDateModel.h"
@interface MNDFinanceTableViewCell : UITableViewCell

/*
 "type": "1",
 "id": "10000278",
 "code": "58d8f0375c200",
 "title": "车商贷-奥迪A8L #10000289",
 "year_apr": "11.10",
 "deadline": "2",
 "money": "440,000.00",
 "remainingable_tender": "0.00",
 "publish_time": "2017-03-28",
 "status": "8",
 "txt_status": "待还款",
 "nowProgress": 100
 */
//车辆型号
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
//年收益率
@property (weak, nonatomic) IBOutlet UILabel *yearAprLabel;
//月份期限
@property (weak, nonatomic) IBOutlet UILabel *deadlineLabel;
//可投金额
@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
//投标状态
//@property (weak, nonatomic) IBOutlet UILabel *statusLabel;

@property (weak, nonatomic) IBOutlet UIImageView *statusImgV;

//投标进度
@property (weak, nonatomic) IBOutlet ZZCircleProgress *progressView;
//投资按钮
@property (weak, nonatomic) IBOutlet UIButton *goInvestBtn;
//投资按钮高度
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *investBtnHeightConstraint;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *yearAprMarginConstraint;
/* code */
@property (strong, nonatomic) NSString *code;
//进度图
@property (strong, nonatomic) ZZCircleProgress *circleView;
//月份描述
@property (weak, nonatomic) IBOutlet UILabel *monthDescLabel;

@property (weak, nonatomic) IBOutlet UIButton *creditorBtn;

@property (weak, nonatomic) IBOutlet UILabel *statusLabel;

@property (strong, nonatomic) MNDCreditorsModel *creditorsModel;
@property (strong, nonatomic) MNDFinanceDateModel *financeModel;

@property (weak, nonatomic) IBOutlet UILabel *precentLabel;

/**
 发标时间
 */
@property (weak, nonatomic) IBOutlet UILabel *beginTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *beginLabel;



@end
